feat(restore): add --verbose flag to restore_site command#549
Open
wustwyh wants to merge 3 commits into
Open
Conversation
Adds --verbose to the bench restore command so users can see progress during heavy backup restores instead of waiting with a single static message. Closes frappe#483.
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
Author
|
邮件已收,谢谢。
|
…args Greptile review noted that accessing mock_execute.call_args without first asserting the mock was called could mask a silent no-op if the code path changes. Add assert_called_once() to produce a clear assertion error. Refs frappe#549
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds --verbose to the bench restore command so users can see progress during heavy backup restores instead of waiting with a single static message.
Also addresses the Greptile review note: add mock_execute.assert_called_once() before accessing call_args so a failure to reach bench_execute produces a clear assertion error rather than a confusing TypeError.
Closes #483.